import request from '@/request/index'
import { IndexInfo } from './type'

enum URL {
  INDEX = 'collect/index/app'
}


export const getIndexInfo = () => request.get<IndexInfo>(URL.INDEX)  // 获取首页信息